# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=i3status
pkgver=2.14
pkgrel=1
pkgdesc="Generates status bar for dzen2, xmobar or similar"
url="https://i3wm.org/i3status/"
arch="all"
license="BSD-3-Clause"
options="!check" # No test suite
makedepends="alsa-lib-dev asciidoc meson confuse-dev libnl3-dev linux-headers yajl-dev xmlto"
subpackages="$pkgname-doc"
source="https://i3wm.org/i3status/i3status-$pkgver.tar.xz
	"

build() {
	abuild-meson \
		-Dpulseaudio=false \
		-Dmans=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
10a1235cc314f5fc4dde4e1369a30f49118c95271f636c5803caa52d94d99ad8565b89fcd602d0c8aa7c830a79d3a3bb08e5ac8123cf07cfddc8ef0126b10f80  i3status-2.14.tar.xz
"
